Module-level declarations
Types
Link copied to clipboard
entity accepted_quest
Link copied to clipboard
entity completed_quest
Link copied to clipboard
struct npc_quests
Link copied to clipboard
struct player_quests
Link copied to clipboard
struct quest_asset_info
Link copied to clipboard
struct quest_info
Link copied to clipboard
struct quest_info_with_id
Link copied to clipboard
entity quest_input
Link copied to clipboard
entity quest_objective
Link copied to clipboard
struct quest_objective_info
Link copied to clipboard
entity quest_output
Link copied to clipboard
object ugc_quests_config
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
function create_quest_with_specific_id(account_id: byte_array, id: text, quest_info: quest_info): quest
Link copied to clipboard
Link copied to clipboard
function get_quest_dto(quest_instance: quest, quest: immutable_mirror_struct<quest>): quest_info_with_id
Link copied to clipboard
@extendable function on_quest_accept(plot_id: integer, account_id: byte_array, quest: quest, optional_parameters: map<text, byte_array>)
Link copied to clipboard
@extendable function on_quest_finish(plot_id: integer, account_id: byte_array, quest: quest, optional_parameters: map<text, byte_array>)
Link copied to clipboard
@extendable function on_quest_skip(plot_id: integer, account_id: byte_array, quest: quest, optional_parameters: map<text, byte_array>)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Queries
Link copied to clipboard
@mount("ugc_quests.get_all_quests")
query get_all_quests(cursor: page_cursor): (data: list<quest_info_with_id>, max_rowid_covered: rowid)
Link copied to clipboard
@mount("ugc_quests.get_all_quests_from_user")
query get_all_quests_from_user(account_id: byte_array, cursor: page_cursor): (data: list<quest_info_with_id>, max_rowid_covered: rowid)
Link copied to clipboard
Link copied to clipboard
@mount("ugc_quests.get_player_quest_journal")
query get_player_quest_journal(account_id: byte_array): player_quests
Link copied to clipboard
Operations
Link copied to clipboard
@mount("ugc_quests.accept_quest")
operation accept_quest(id: text, account_id: byte_array, auth_descriptor_id: byte_array)
Link copied to clipboard
@mount("ugc_quests.delete_quest")
operation delete_quest(id: text, account_id: byte_array, auth_descriptor_id: byte_array)
Link copied to clipboard
Link copied to clipboard
@mount("ugc_quests.progress_quest")
operation progress_quest(id: text, account_id: byte_array, auth_descriptor_id: byte_array)
Link copied to clipboard
@mount("ugc_quests.register_quest")
operation register_quest(quest_info: quest_info, account_id: byte_array, auth_descriptor_id: byte_array)
Link copied to clipboard
@mount("ugc_quests.set_global_ugc_quest_parameters")
operation set_global_ugc_quest_parameters(enabled: boolean)